/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*-
   this file is part of rcssserver3D
   Thu Mar 27 2006
   Copyright (C) 2006 RoboCup Simulation League Maintenance Committee

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; version 2 of the License.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef SOCCERBOTBEHAVIOR_H
#define SOCCERBOTBEHAVIOR_H

#include <tsubamegaeshi-base/behavior.h>
#include <tsubamegaeshi-base/worldmodel.h>
#include <tsubamegaeshi-base/actionhandler.h>
#include <tsubamegaeshi-base/action.h>

#include <boost/shared_ptr.hpp>
#include <boost/scoped_ptr.hpp>

class SoccerbotBehavior : public Behavior
{
public:
    SoccerbotBehavior(Worldmodel::shared_ptr, Action::shared_ptr);

    virtual std::string init();
    virtual std::string think(const std::string& message);

protected:
    bool init_;

    Parser::shared_ptr     parser_;
    Worldmodel::shared_ptr world_;
    Action::shared_ptr     ach_;
};

#endif // SOCCERBOTBEHAVIOR_H
